namespace ColladaDotNet.OpenTKMapping
{
	public class Morph : Controller
	{
		private Geometry geometry;
		internal override void Load(controller colladaData)
		{
			base.Load(colladaData);

			geometry = Document.GetElementByUrl<Geometry>(((morph)colladaData.Item).source1);
		}
		public override void Render(Sceleton sceleton, BindMaterial material)
		{
			base.Render(sceleton, material);
			geometry.Render(material);
		}
	}
}